package com.hqyj.serviceInf;

import com.hqyj.pojo.Payment;
import com.hqyj.pojo.User;

import java.util.List;
import java.util.Map;

public interface PaymentServiceInf {

    //全查
    Map<String,Object> selectAll(int pageNum, int pageSize, String username);
    //添加
    int insertPayment(Payment payment);
    //查询一个
    User selectPaymentId(User user);
    //更改
    int updatePayment(Payment payment);
    //删除
    int deletePayment(int paymentid);
    //payment查询
    Payment selectPaymentByPaymentId(int paymentid);
    //order_payment add
    int insertOrderPayment(int orderid, int paymentid);
    List<Payment> selectPayment();
}
